// vue.config.js
module.exports = {
    devServer: {
        proxy: {
            '/api' :{
                target: 'http://localhost:8989/iqiyiadmin',
                changeOrigin: true,
                pathRewrite: {'^/api': '/'}
            }
        }
    }
}